.bg {
    background: #ffffff;
    padding: 8px;
    height: 100%;
    box-shadow: 1px 1px 20px rgba(117, 117, 117, 0.29);
}

.grid-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
}

button {
    width: 48px;
    height: 32px;
    background: #fff;
    outline: none;
    border: 1px solid #d2d2d2;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
    margin: 4px auto;
    cursor: pointer;
    transition: .3s all ease-in-out;
    box-shadow: 1px 1px 5px rgba(117, 117, 117, 0.29);
}

button:hover {
    background: #eee;
    box-shadow: 4px 4px 20px rgba(117, 117, 117, 0.88);
}

/*输入区域的样式 */
#textarea_t {
    width: 90%;
    background: #eee;
    margin: 2em;
    padding: 1em;
    outline: none;
}

span {
    width:100px;
    size: 24px;
    color: black;
    display:block;
}

/* 拖拽的区域样式 */
input {
    min-height: 2em;
    width: 95%;
    background: #eee;
    margin: 2px;
    padding: 1px;
    border: 1px dotted #eee;
    border-radius: 4px;
    transition: .3s all ease-in-out;
}

/* 拖拽时用jQuery为其添加边框样式的class */
.holder {
    border: 20px dotted #d45700;
}

/*toast snackBar*/
#snackBar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 50%;
    font-size: 17px;
}

#snackBar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 50%;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 50%;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 50%;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 50%;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}